package com.shop.cloud.model.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class ReducePointsRequest {
	
	@JsonProperty("userIdOrPhone")
	@ApiModelProperty(value = "用户id号或手机号", example = "", required = true)
	private String userIdOrPhone;
	
	@JsonProperty("amount")
	@ApiModelProperty(value = "扣除的积分", example = "", required = true)
	private Float amount;

	public String getUserIdOrPhone() {
		return userIdOrPhone;
	}

	public void setUserIdOrPhone(String userIdOrPhone) {
		this.userIdOrPhone = userIdOrPhone;
	}

	public Float getAmount() {
		return amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}
}
